package com.exadel.googleregistrator.dao;

import com.exadel.googleregistrator.entities.Account;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Администратор
 * Date: 09.08.12
 * Time: 15:17
 */
public interface AccountDAO {
    public Account readAccount(int id);
    public List getAccounts();
    public void createAccount(Account account);
    public void deleteAccount(Account account);
    public void updateAccount(Account account);
}
